﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
//algo:
namespace HS_Model.Character   //Paquete de Personajes.
{
    public class Character
    {
        /*------------------------------------------|ATRIBUTES|-----------------------------------------*/
        protected int x, y;
        protected int idCharacter;//Código del personaje.
        protected string name;
        protected int life;       //vida del personaje
        protected double accuracy;   //precisión, es un porcentaje de probabilidad de tiro
        protected string description;

        /*--------------------------------------|SETTERS & GETTERS|-------------------------------------*/
        public int getX()
        {
            return x;
        }
        public void setX(int x)
        {
            this.x = x;
        }

        public int getY()
        {
            return y;
        }
        public void setY(int y)
        {
            this.y = y;
        }

        public int getidCharacter()
        {
            return idCharacter;
        }
        public void setidCharacter(int idCharacter)
        {
            this.idCharacter = idCharacter;
        }

        public string getName()
        {
            return name;
        }
        public void setName(string name)
        {
            this.name = name;
        }

        public int getLife()
        {
            return life;
        }
        public void setLife(int life)
        {
            this.life = life;
        }

        public double getAccuracy()
        {
            return accuracy;
        }
        public void setAccuracy(double accuracy)
        {
            this.accuracy = accuracy;
        }

        public string getDescription()
        {
            return description;
        }
        public void setDescription(string description)
        {
            this.description = description;
        }
    }

}
